﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Permission.Models;
using Microhard.Core.DBUtility;


namespace Microhard.Permission.Interface
{
    /// <summary>
    /// 数据权限
    /// 程琳 2012-10-15
    /// </summary>
    public interface IDataCollectionAuthorization : IRepository<PermissionDataCollection>
    {
        ScopeResult GetDataScope(List<Guid> permissionID, Guid currentUserID);
        bool IsDuplicate(Guid permissionID,int scope);
    }
}
